package org.liaohailong.library.event;


import androidx.annotation.NonNull;

/**
 * create by liaohailong
 * time 2022/9/22 17:16
 * desc:
 */
public abstract class MessageEvent<T> {
    @NonNull
    private final T data;

    public MessageEvent(@NonNull T data) {
        this.data = data;
    }

    @NonNull
    public T getData() {
        return data;
    }
}
